Skip to content

ci: limit release-please releasable sections#881

Merged
bokelley merged 1 commit into
mainfrom
bokelley/release-please-releasable-sections
May 26, 2026
Merged

ci: limit release-please releasable sections#881
bokelley merged 1 commit into
mainfrom
bokelley/release-please-releasable-sections

Conversation

@bokelley
Copy link
Copy Markdown
Contributor

Summary

  • Keep Release Please changelog sections to package-relevant release types: feat, fix, perf, revert, and deps.
  • Drop ci, build, chore, docs, style, refactor, and test from configured release sections so manifest mode does not cut PyPI betas for infrastructure-only commits.

Why

After manifest mode started honoring the repository config, CI-only commits opened a beta release PR. The beta number was correct, but the trigger was too broad for package publishing.

Validation

  • python3 -c 'import json; json.load(open("release-please-config.json"))'
  • git diff --check
  • pre-commit hooks from git commit

Copy link
Copy Markdown

@aao-ipr-bot aao-ipr-bot Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Tight fix for the right problem — manifest mode started honoring the config and the broad section list let ci:/chore: commits cut betas.

Things I checked

  • release-please-config.json:17-22 — releasable set is now feat, fix, perf, revert, deps. In release-please v5, changelog-sections extends the recognized commit types beyond the feat/fix/perf defaults, so removing ci/build/chore/docs/style/refactor/test does stop those types from triggering a release PR — not just hiding them from the changelog. The empirical trigger (#879 was a ci: commit, manifest at 6.3.0-beta.4) confirms the diagnosis.
  • .github/workflows/release-please.yml:22-27 — workflow consumes the config as-is; no other commit-type gating elsewhere.
  • .release-please-manifest.json — clean, prerelease beta channel intact.

Follow-ups (non-blocking — file as issues)

  • Dependabot's default commit prefix is build(deps):, not bare deps:. If deps here is meant to catch Dependabot PRs, drop a .github/dependabot.yml with commit-message: { prefix: \"deps\" } — otherwise the new section is decorative.
  • RELEASING.md:110-118 still lists docs:/chore:/refactor:/test:/style:/ci: as valid types without flagging that they'll be silently dropped from the changelog under this config. Worth a one-line note so contributors don't expect their docs: PR to show up.

Safe to merge.

@bokelley bokelley merged commit 50eb009 into main May 26, 2026
25 checks passed
@bokelley bokelley deleted the bokelley/release-please-releasable-sections branch May 26, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant